{template "header.html", "/"}

<div class="page-container">
    <div class="page-content-wrapper">
        <div class="page-content">
            <div class="container">



                <div class="news-content row">

                    <div class="col-md-4">
                        <div class="bg-white bg-flash">
                            <div class="swiper-container">
                                <div class="swiper-wrapper">
                                    {navigator type=0}
                                    <div class="swiper-slide">
                                        <a href="{$t.url}" {if $t.target}target="_blank"{/if} title="{$t.title}"><img src="{dr_thumb($t.thumb, 350, 250)}" style="width:350px;height:245px" /></a>
                                    </div>
                                    {/navigator}
                                </div>
                                <div class="swiper-pagination"></div>
                            </div>
                            <link rel="stylesheet" href="{HOME_THEME_PATH}swiper/css/swiper.min.css">
                            <script src="{HOME_THEME_PATH}swiper/js/swiper.min.js"></script>
                            <script>
                                var swiper = new Swiper('.swiper-container', {
                                    spaceBetween: 30,
                                    autoplay: {
                                        delay: 3500,
                                        disableOnInteraction: false,
                                    },
                                    pagination: {
                                        el: '.swiper-pagination',
                                        clickable: true,
                                    },
                                });
                            </script>
                        </div>

                    </div>

                    <div class="col-md-4">

                        <div class="news-hits-body category-flag index-tt">
                            <div class="index-title"> <a href="http://www.phpkaiyuancms.com" target="_blank">PHP开源内容管理系统</a> </div>
                            <div class="index-desc"> PhpOpenSourceCMS（简称PHP开源CMS或POSCMS）是Php+Mysql开发的一款开源的跨平台网站内容管理系统 </div>
                            <ul>
                                <!--调用新闻模块最新5条-->
                                {module module=news num=5}
                                <li><a href="{$t.url}" target="_blank">{$t.title}</a><span>{dr_date($t._updatetime, 'm-d')}</span></li>
                                {/module}
                            </ul>
                        </div>
                    </div>

                    <div class="col-md-4">

                        <div class="news-hits-body category-flag">
                            <div class="ctitle">热门图文</div>
                            <ul class="image">
                                <!--调用新闻模块最热2条 图文-->
                                {module module=news thumb=1 order=hits num=2}
                                <li>
                                    <div class="pic"><a href="{$t.url}"><img src="{dr_thumb($t.thumb)}"></a></div>
                                    <div class="con">
                                        <h5><a href="{$t.url}">{dr_strcut($t.title, 25)}</a></h5>
                                        <p>{$t.updatetime}</p>
                                    </div>
                                </li>
                                {/module}
                            </ul>
                        </div>
                    </div>


                </div>

                <div class="book-content">
                    <div class="commonTitle clearfix">
                        <h4 class="fl fw">图片模块</h4>
                        {category module=photo pid=0 return=c}
                        <a href="{$c.url}" class="fr">{$c.name}</a>
                        {/category}
                    </div>
                    <div class="book-content-list row image-list">
                        {module module=photo order=updatetime num=10}
                        <div class="image-item fang-item">
                            <div class="image-thumbnail3">
                                <a href="{$t.url}" ><img src="{dr_thumb($t.thumb, 200, 200)}" width="200" height="200"></a>
                            </div>
                            <div class="fang-title">
                                <a href="{$t.url}" class="title">{dr_strcut($t.title, 28)}</a>
                            </div>
                        </div>
                        {/module}

                    </div>

                </div>

                <div class="book-content">
                    <div class="commonTitle clearfix">
                        <h4 class="fl fw">下载模块</h4>
                        {category module=down pid=0 return=c}
                        <a href="{$c.url}" class="fr" target="_blank"> {$c.name} </a>
                        {/category}
                    </div>
                    <div class="book-content-list row image-list">
                        {module  module=down order=updatetime num=10}
                        <div class="image-item">
                            <div class="image-thumbnail">
                                <a href="{$t.url}" ><img src="{dr_thumb($t.thumb, 200, 200)}" width="200" height="200"></a>
                            </div>
                            <div class="image-title">
                                <a href="{$t.url}" class="title">{dr_strcut($t.title, 28)}</a>
                            </div>
                        </div>
                        {/module}

                    </div>

                </div>

                <div class="book-content">
                    <div class="commonTitle clearfix">
                        <h4 class="fl fw">视频模块</h4>
                        {category module=video pid=0 return=c}
                        <a href="{$c.url}" class="fr" target="_blank"> {$c.name} </a>
                        {/category}
                    </div>
                    <div class="book-content-list row">

                        <div class="col-md-8">

                            <ul class="books ">

                                {module module=video order=updatetime num=6}
                                {if $key%2==0}
                                <li class="clearfix">
                                    {/if}
                                    <div class="book clearfix">
                                        <a href="{$t.url}">
                                            <div class="scal oh clearfix bookShadow fl" style="width: 100px; height: 138px;"><img src="{dr_thumb($t.thumb, 100, 140)}" class="fl"></div>
                                        </a>
                                        <div class="bookDetail">
                                            <div class="bookName text-overflow"><a href="{$t.url}">{dr_strcut($t.title, 20)}</a></div>
                                            <div class="detail">{dr_strcut($t.description, 60)}</div>
                                            <div class="typeAuthor fl text-overflow">
                                                <span><a href="{dr_cat_value($t.catid, 'name')}">{dr_cat_value('video', $t.catid, 'name')}</a></span>
                                                <span>{$t.updatetime}</span>
                                            </div>
                                        </div>
                                    </div>
                                    {if $key%2==1 || $is_last}
                                </li>
                                {/if}
                                {/module}
                            </ul>
                        </div>

                        <div class="col-md-4">
                            <div class="recommend ">
                                <div class="title clearfix">
                                    阅读排行榜
                                </div>
                                <ul class="recommendCon week">
                                    {module module=video order=hits num=11}
                                    {if $key == 0}
                                    <li class="text-overflow clearfix">
                                        <a href="{$t.url}">
                                            <span class="fl">1</span>
                                            <div class="scal oh clearfix bookShadow fl" style="width: 48px; height: 64px;"><img class="fl" src="{dr_thumb($t.thumb, 50, 70)}"></div>
                                            <div class="fl bookContent">
                                                <div class="bookName text-overflow">{dr_strcut($t.title, 20)}</div>
                                                <div class="bookType text-overflow">{dr_cat_value('video', $t.catid, 'name')}</div>
                                                <div class="bookAuthor text-overflow">{$t.schedule}</div>
                                            </div>
                                        </a>
                                    </li>
                                    {else}
                                    <li class="text-overflow"><a href="{$t.url}"><span>{$key+1}</span>{dr_strcut($t.title, 20)}</a></li>
                                    {/if}
                                    {/module}

                                </ul>

                            </div>

                        </div>

                    </div>

                </div>


                <div class="book-content">
                    <a href="http://www.phpkaiyuancms.com" target="_blank"><img src="{HOME_THEME_PATH}pc/img/banner.jpg"></a>
                </div>
                <div class="book-content">
                    <div class="commonTitle clearfix">
                        <h4 class="fl fw">友情链接</h4>
                    </div>
                    <div class="link-list">
                        {navigator type=1}
                        <a href="{$t.url}" title="{$t.title}" {if $t.target}target="_blank"{/if}>{$t.name}</a>
                        {/navigator}
                    </div>

                </div>


            </div>
        </div>
    </div>
</div>

{template "footer.html", "/"}